import request from '@/axios'

export function getWorkhoursList() {
    return request({
      url: '/sys/workhours/list',
      method: 'get'
    })
}

// GetMapping 必须加上params: 
export function getDoctorList(data){
    return request({
      url: '/sys/doctor/list',
      method: 'get',
      params: data
    })
}

export function toRegisterX(data){
  return request({
    url: '/sys/register/register',
    method: 'post',
    data
  })
}
